﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DbTestDataGenerate.DTO
{
    public class ColumnDto
    {
        /// <summary>
        /// 列名
        /// </summary>
        public string ColumnName { get; set; }

        /// <summary>
        /// 列的类型
        /// </summary>
        public string ColumnType { get; set; }

        /// <summary>
        /// 主键/外键 PRI/MUL PRI主键约束   UNI唯一约束 MUL可以重复
        /// </summary>
        public string Column_key { get; set; }

        /// <summary>
        /// 数据自增 auto_increment
        /// </summary>
        public string Extra { get; set; }

        /// <summary>
        /// 字节长度
        /// </summary>
        public string Character_maximum_length { get; set; }

        /// <summary>
        /// 外键
        /// </summary>
        public bool IsForeignKey { get; set; }
    }
}
